package com.wzh.project.thread.basethread;

public class TestMain {
	public static final String str="123";
	public static int num=0;
	
	public static void main(String[] args) {
//		MyThread1 thread1=new MyThread1();
//		MyThread2 thread2=new MyThread2();
//		MyThread3 thread3=new MyThread3();
//		new Thread(thread2).start();
//		new Thread(thread1).start();
//		new Thread(thread3).start();
		String s="234";
		String s2="234";
		String s3=new String("234");
		System.out.println(s.intern()==s2.intern());
		System.out.println(s3.intern()==s2.intern());
		System.out.println(s.intern()==s3.intern());
	}

}
